package common.controls.item.events
{
	import flash.events.Event;
	
	/**  
	 * 
	 * @author carrey
	 * */ 
	public class ItemDataEvent extends Event
	{
		public static const CHANGED_GOLD:String = "changed_gold";//金币
		public static const CHANGED_SILVER:String = "changed_silver";//银币
		public static const CHANGED_ITEM_UPDATE:String = "changed_item_update";//更新
		public static const CHANGED_ITEM:String = "changed_item";//
		public static const CHANGED_ITEM_CREATE:String = "changed_item_Create";//创建
		public static const CHANGED_ITEM_MOVE:String = "changed_item_move";//移动
		public static const CHANGED_ITEM_REGAIN:String = "changed_item_regain";//恢复
		public static const CHANGED_ITEM_DELETE:String = "changed_item_delete";//删除
		
		
		public static const CHANGED_EQUIP_ITEM_CREATE:String = "changed_equip_item_Create";//创建
		public static const CHANGED_EQUIP_ITEM_MOVE:String = "changed_equip_item_move";//移动
		public static const CHANGED_EQUIP_ITEM_DELETE:String = "changed_equip_item_delete";//删除
		
		public var data:Object;
		
		public function ItemDataEvent(type:String, ob:Object=null, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			this.data = ob;
			
			super(type, bubbles, cancelable);
		}
	}
}